/*
 * @Author: wangtao
 * @Date: 2020-06-29 16:32:41
 * @LastEditors: 汪滔
 * @LastEditTime: 2021-04-22 14:53:20
 * @Description: file content
 */

import React, { Component } from 'react';
import { StyleSheet, View, Text } from 'react-native';
import {
  screenWidth,
  px2dp,
  fontColorRed,
} from '@/styles';

export default class ApplyTips extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  componentDidMount() {}

  render() {
    const { applicationInsuranceDetail } = this.props;

    return (
      <View style={styles.tipsContainer}>
        <Text style={styles.tipsText}>
          拒绝原因：
          {applicationInsuranceDetail.rejectReasons}
        </Text>
      </View>
    );
  }
}
const styles = StyleSheet.create({
  tipsContainer: {
    paddingHorizontal: px2dp(32),
    backgroundColor: '#FFF5F5',
    width: screenWidth,
    height: px2dp(80),
    justifyContent: 'center'
  },
  tipsText: {
    color: fontColorRed,
    fontSize: px2dp(24),
    fontWeight: 'bold'
  }

});
